package com.brillilab.service.core.method;

import com.brillilab.domain.enums.common.BoolEnum;
import com.brillilab.domain.po.method.MethodStep;

import java.util.List;

public interface IMethodStepService {
    Long saveStepAndUpdateInitId(MethodStep step,Integer fromType);
    /**
    * @Description: isDelete = null 获取全部
    * @Params: [methodIdList, isDelete]
    * @return java.util.List<com.brillilab.domain.po.method.MethodStep>
    * @author wuzhiyu
    * @date 2019/2/25 14:23
    */
    List<MethodStep> listByMethodId(Long methodId, BoolEnum isDelete);

    boolean save(MethodStep step);

    List<MethodStep> listByPhaseId(Long methodPhaseId,BoolEnum isDelete);

    MethodStep selectById(Long methodStepId);

    boolean updateById(MethodStep methodStep);
}
